import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { MysqlModule } from '../common/mysql/mysql.module';
import { User } from '../entities/User.entity';

import { MysqlDemoController } from './mysql-demo.controller';
import { MysqlDemoService } from './mysql-demo.service';

@Module({
  imports: [TypeOrmModule.forFeature([User])],
  controllers: [MysqlDemoController],
  providers: [MysqlDemoService],
})
export class MysqlDemoModule {}
